package ajakuulauku;

public class Collision {

	private double fTime;
	Ball A;
	GameObject B;
	private Vector2 location;
	
	public Collision(double time, GameObject A, GameObject B, Vector2 location) {
		this.fTime = time;
		this.A = (Ball)A;
		this.B = B;
		this.location = location;
	}
	
	public void setLocation(Vector2 loc){
		this.location = loc;
	}
	
	public Vector2 getLocation() {
		return location;
	}
	
	public double getFTime() {
		return this.fTime;
	}
	
	public void setFTime(double a) {
		this.fTime = a;
	}
	
}
